<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>飞道作业</title>
    <script>
      function load() {
        alert("页面已经载入！");
      }
      function checkForm() {
        alert("提交！");
      }
      function myFunction() {
        alert(" ontoggle 事件触发");
      }
      function displayResult() {
        alert(" 鼠标松开事件触发");
      }
    </script>
  </head>
  <body onload="load()" onresize="showMsg()">
    <div>
      <form id="one" action="" method="POST" onblur="">
        <table style="border:1px;" align="left">
          <tr>
            <td>第一个</td>
          </tr>
          <tr>
            <th>第二个</th>
          </tr>
          <ul>
            <li>
              <b><i>欢迎来到飞道学院！</i></b>
              <br />
            </li>

            <li><strong>热烈欢迎！</strong></li>
            <li>
              姓名：<input
                type="text"
                name="username"
                class=""
                data-color="red"
                data-size="50"
                onfocus="setStyle(this.id)"
              />
            </li>
            <li>
              年龄：<input
                type="text"
                name="age"
                size=""
                data-color="red"
                data-size="50"
                onfocus="setStyle(this.id)"
              />
            </li>
            <li>
              性别：<select>
                <option value="1" title="男">男</option>
                <option value="2" title="女">女</option>
              </select>
            </li>
            <li>
              详细信息:<textarea name="xiangqing" title="文本"></textarea>
            </li>
            <li>
              <button type="button" onclick="checkForm()" onplay="QQMusic">
                提交
              </button>
              <button ondblclick="copyText()" onkeyup="displayResult()">
                复制文本
              </button>
            </li>
          </ul>
        </table>
      </form>
    </div>

    <div id="test1">
      <a href="https://feidao-edu.gitee.io"
        >访问飞道!<img
          onmouseover="bigImg(this)"
          src="smiley.gif"
          alt="Smiley"
          download="https://feidao-edu.gitee.io/lesson/base/git"/><video
          src=""
        ></video
      ></a>
      <a onclick="window.location.reload();" style="color:blue">测试！</a>
      <a href="#" ontoggle="myFunction()" style="color:rgb(81, 255, 0)"
        >测试2</a
      >
      <a href="http://www.baidu.com"> 测试3</a>
      <audio src="/i/horse.ogg" controls="controls">
        Your browser does not support the audio element.
      </audio>
    </div>
  </body>
</html>
